package question_answer_import

type ListRequest struct {
	Page       int     `form:"page" binding:"required" validate:"required"`
	Limit      int     `form:"limit" binding:"required" validate:"required"`
	Question   *string `form:"question"`
	Answer     *string `form:"answer"`
	ClassifyId *int    `form:"classify_id"`
}

type ListResponse struct {
	List  []QuestionAnswerImportRecord `json:"list"`
	Total int64                        `json:"total"`
	Page  int                          `json:"page"`
	Limit int                          `json:"limit"`
}

type QuestionAnswerImportRecord struct {
	Id        int    `json:"id"`
	FilePath  string `json:"file_path"`
	FileName  string `json:"file_name"`
	ErrFile   string `json:"err_file"`
	Status    int    `json:"status"`
	CreatedAt string `json:"created_at"`
}
